import QtQuick 2.0
import "../common"
Column {
    spacing: 2

    Repeater{
       model: ListModel{
              ListElement{name:"吉法师"; surfaceColor:"gray"}
              ListElement{name:"icy"; surfaceColor:"yellow"}
              ListElement{name:"比卡丘不皮"; surfaceColor:"blue"}
              ListElement{name:"狗哥"; surfaceColor:"orange"}
              ListElement{name:"小鱼人"; surfaceColor:"yellow"}
              ListElement{name:"千古"; surfaceColor:"lightBlue"}
              ListElement{name:"建波系类"; surfaceColor:"lightBlue"}
              ListElement{name:"法师迷系类"; surfaceColor:"yellow"}
              ListElement{name:"黑粉系类"; surfaceColor:"blue"}
       }

       BlueBox{
           width: 120
           height: 32

           radius: 3
           text: name
           Box {
               anchors.left: parent.left
               anchors.verticalCenter: parent.verticalCenter
               anchors.leftMargin: 4

               width: 16
               height: 16

               radius: 8

               color: surfaceColor
           }
       }
    }


}
